home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre3.z / postgre3 / src / lib / H / tmp / libpq-fe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-11  |  2.0 KB  |  55 lines

  1. /* ----------------------------------------------------------------
  2.  *   FILE
  3.  *    libpq-fe.h
  4.  *
  5.  *   DESCRIPTION
  6.  *    This file contains definitions for structures and
  7.  *    externs for functions used by frontend applications.
  8.  *
  9.  *   IDENTIFICATION
  10.  *    $Header: /private/postgres/src/lib/H/tmp/RCS/libpq-fe.h,v 1.6 1992/07/04 04:35:59 mer Exp $
  11.  * ----------------------------------------------------------------
  12.  */
  13.  
  14. #ifndef LibpqFeIncluded     /* include this file only once. */
  15. #define LibpqFeIncluded     1
  16.  
  17. /* ----------------
  18.  *    include stuff common to fe and be
  19.  * ----------------
  20.  */
  21. #include "tmp/libpq.h"
  22.  
  23. typedef void *TUPLE;
  24. /* ----------------
  25.  *    declarations for frontend libpq support routines
  26.  * ----------------
  27.  */
  28. #undef palloc
  29. #undef pfree
  30.  
  31. extern char *GetAttributeByName ARGS ((TUPLE tuple, char *attname, char *isnull ));
  32. extern char *GetAttributeByNum ARGS ((TUPLE tuple, int attnum, char *isnull ));
  33. extern void dump_type ARGS((TypeBlock *types, int nfields));
  34. extern void dump_tuple ARGS((char **values, int *lengths, int nfields));
  35. extern void finish_dump ARGS(());
  36. extern int dump_data ARGS((char *portal_name, int rule_p));
  37. extern void read_initstr ARGS(());
  38. extern void read_remark ARGS((char id[]));
  39. extern char *process_portal ARGS((int rule_p));
  40. extern void InitVacuumDemon ARGS((String host, String database, String terminal, String option, String port, String vacuum));
  41. extern char *PQdb ARGS(());
  42. extern void PQsetdb ARGS((char *dbname));
  43. extern void PQreset ARGS(());
  44. extern void PQfinish ARGS(());
  45. extern int PQFlushI ARGS((int i_count));
  46. extern char *PQfn ARGS((int fnid, int *result_buf, int result_len, int *actual_result_len, int result_type, PQArgBlock *args, int nargs));
  47. extern char *PQexec ARGS((char *query));
  48. extern Pointer palloc ARGS((Size size));
  49. extern void pfree ARGS((Pointer pointer));
  50. extern void elog ARGS((int, ...));
  51. extern void AssertionFailed ARGS((const String assertionName, const String fileName, const int lineNumber));
  52.  
  53. #endif LibpqFeIncluded
  54.  
  55.